package study.day6.t5;

//HashSet 的使用

import java.util.HashSet;
import java.util.Set;

public class T5 {
    public static void main(String[] args) {
        Set set=new HashSet();
        Book b1=new Book("你是人间的四月天",60,"林徽因");
        Book b2=b1;
        set.add(b1);
        set.add(b2);
        System.out.println(set.size());
    }
}
